package aclInfoCollector.filesAnalysers.component.fractalFile;

import java.io.IOException;
import java.io.StringReader;

import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

/**La classe EntityResolverFractal sert a resoudre l'exception provoqué par <!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" "classpath://org/objectweb/fractal/adl/xml/standard.dtd">
*@version 1.0
*@author Bendavid Olivier
*@author Haderer Nicolas
*/



public class EntityResolverFractal implements EntityResolver
{
	 /**permet de renvoyer une ligne vide si balise inconnue
     */
	public InputSource resolveEntity(String publicId, String systemId)
    throws SAXException, IOException {
//System.out.println("Ignoring: " + publicId + ", " + systemId);
return new InputSource(new StringReader(""));
}
}
	


